Previous page Next page

Configuration File: haresources

This file contains information about the resources to be enabled or disabled by HeartBeat when a node mode change is detected. A node change might be a change from slave to master or from master to slave. It is mandatory that this file be identical on both servers.

Here is a sample:

EY-FTP1 192.168.38.130 mv_ipteld mv_watchdogd
 

The first entry: “EY-FTP1”defines the default master server. This definition allows HeartBeat to stop and start gracefully without causing potential conflicts or ambiguous modes.

The second entry: “192.168.38.130” is the “shared” IP address. In this case, “192.168.38.130” is not configured to be assigned to either server, but is dynamically assigned by the HeartBeat application.

The third entry is the name of a script file to run when the state of a server changes. This entry is executed with the “start” parameter on a change to master, and a “stop” on a change to slave. In this situation, the “mv_ipteld” script starts and stops the MV_IPTelD and MV_WatchDog daemons.


Previous page Next page